file_manager.admin = new liwe.module ( "file_manager", null, "FileManager" );

file_manager.admin._init_admin = function ()
{
	// Register menu item actions here
	var _acts = [
		{ func: function () { file_manager.admin.browser (); }, label: "Browse files", 'default' : true }
	];

	file_manager.admin.register ( _acts );
};

file_manager.admin.init = function ()
{
	file_manager.admin._init_admin ();

	file_manager.admin._browser = new FMBrowser ( 'fm-admin' );

	// Put your own init functions below this line
};

// Example of menu actions
file_manager.admin.browser = function ()
{
	file_manager.admin._browser.render ( "system-content" );
};
